package model;

import java.io.Serializable;

public class Email  implements Serializable {
	
	private static final long serialVersionUID = 2748837857727564816L;

	private int idemail;
	private String email;
	private String tipo;
//  private contato_id_contato; - chave estrangeira na tabela email
	
	public Email(int idemail, String email, String tipo){
		this.setIdemail(idemail);
		this.setTipo(tipo);

}

	public int getIdemail() {
		return idemail;
	}

	public void setIdemail(int idemail) {
		this.idemail = idemail;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTipo() {
		return tipo;
	}

	public void setTipo(String tipo) {
		this.tipo = tipo;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
}
